$(document).ready(function(){
	$(".emoticon").click(function(){
		var comment = $("#comment").val();
		var emoticon = $(this).attr("value");
		
		$("#comment").val(comment + " " +  emoticon + " ");
	})
})